package com.pw.manage.roster.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pw.common.annotation.Excel;
import com.pw.common.core.domain.BaseEntity;

/**
 * 员工额外信息模块对象 employees_extra_info
 * 
 * @author lye
 * @date 2024-12-28
 */
public class EmployeesExtraInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工额外信息表信息 */
    private Long id;

    /** 外键 */
    private Long employeeBaseInfoId;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hireDate;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String certificateType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String certificateNumber;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeBaseInfoId(Long employeeBaseInfoId) 
    {
        this.employeeBaseInfoId = employeeBaseInfoId;
    }

    public Long getEmployeeBaseInfoId() 
    {
        return employeeBaseInfoId;
    }
    public void setHireDate(Date hireDate) 
    {
        this.hireDate = hireDate;
    }

    public Date getHireDate() 
    {
        return hireDate;
    }
    public void setCertificateType(String certificateType) 
    {
        this.certificateType = certificateType;
    }

    public String getCertificateType() 
    {
        return certificateType;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeBaseInfoId", getEmployeeBaseInfoId())
            .append("hireDate", getHireDate())
            .append("certificateType", getCertificateType())
            .append("certificateNumber", getCertificateNumber())
            .append("phoneNumber", getPhoneNumber())
            .toString();
    }
}
